/**
 * The MIT License (MIT)
 * 
 * Copyright (c) 2016 mo_yq5 (mo_yq5@163.com)
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 */
package com.openapi.alipay.trade.cancel;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.openapi.alipay.AlipayResponse;

/**
 * 统一收单交易撤销接口－响应参数
 * @author Moyq5
 * @since 2016年8月7日
 */
public class AlipayTradeCancelResponse extends AlipayResponse {

	/**
	 * 支付宝交易号<br>
	 * 必填，最长64，如：2013112011001004330000121536
	 */
	@JsonProperty("trade_no")
	private String tradeNo;
	
	/**
	 * 商户订单号<br>
	 * 必填，最长64，如：6823789339978248
	 */
	@JsonProperty("out_trade_no")
	private String outTradeNo;
	
	/**
	 * 是否需要重试<br>
	 * 必填，最长1，如：N
	 */
	@JsonProperty("retry_flag")
	private String retryFlag;
	
	/**
	 * 本次撤销触发的交易动作 close：关闭交易，无退款 refund：产生了退款<br>
	 * 必填，最长10，如：close
	 */
	private String action;

	/**
	 * @return the tradeNo
	 */
	public String getTradeNo() {
		return tradeNo;
	}

	/**
	 * @param tradeNo the tradeNo to set
	 */
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	/**
	 * @return the outTradeNo
	 */
	public String getOutTradeNo() {
		return outTradeNo;
	}

	/**
	 * @param outTradeNo the outTradeNo to set
	 */
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	/**
	 * @return the retryFlag
	 */
	public String getRetryFlag() {
		return retryFlag;
	}

	/**
	 * @param retryFlag the retryFlag to set
	 */
	public void setRetryFlag(String retryFlag) {
		this.retryFlag = retryFlag;
	}

	/**
	 * @return the action
	 */
	public String getAction() {
		return action;
	}

	/**
	 * @param action the action to set
	 */
	public void setAction(String action) {
		this.action = action;
	}
}
